package com.sicilin.po;

public class TCSensor {
    private int sensorId;                          //id                    主键
    private Integer deviceId;         //设备编码          非空           型号编码，DeviceNo与sensorNO、sensorType三个关联为唯一
    private String sensorNO;        //传感器编号       非空
    private String sensorName;    //传感器名称       非空
    private String sensorType;      //传感器测量类型                   外键约束t_c_sensortype传感器类型表的code
    private int PE;                         //倍率                非空            原始数据乘于倍率得出实际值，默认值是1
    private int cyc;                        //存盘周期         非空            默认为0，即不存盘，单位为分钟，即最小存盘周期为一分钟
    private String saveTag;            //存盘标签         非空            保存到数据库的记录编码
    private int alarm;                     //是否报警         非空           默认为0，不报警，1为报警
    private int alarmLevel;             //报警级别         非空           当系统设置了报警级别时，这个数值高于系统报警级别时则报警生效。默认为1.
    private float upLimit;              //上限值                              上限值，默认为空
    private float upUpLimit;          //上上限值                          上上限值，默认为空
    private float lowLimit;             //下限值                              下限值，默认为空
    private float lowLowLimit;       //下下限值                           下下限值，默认为空
    private String formatual;         //计算公式                            存盘值可以通过这个公式计算得出。默认为空
    private Integer companyId;  //监测客户                           查询type=3的下游客户,当sensorType的类型=F/I时才选择客户。
    private String storageName;    //监测储罐
    private int site;                        //展示位置                           这个字段在数据字典进行配置

    public int getSensorId() {
        return sensorId;
    }

    public void setSensorId(int sensorId) {
        this.sensorId = sensorId;
    }

    public Integer getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(Integer deviceId) {
        this.deviceId = deviceId;
    }

    public String getSensorNO() {
        return sensorNO;
    }

    public void setSensorNO(String sensorNO) {
        this.sensorNO = sensorNO;
    }

    public String getSensorName() {
        return sensorName;
    }

    public void setSensorName(String sensorName) {
        this.sensorName = sensorName;
    }

    public String getSensorType() {
        return sensorType;
    }

    public void setSensorType(String sensorType) {
        this.sensorType = sensorType;
    }

    public int getPE() {
        return PE;
    }

    public void setPE(int PE) {
        this.PE = PE;
    }

    public int getCyc() {
        return cyc;
    }

    public void setCyc(int cyc) {
        this.cyc = cyc;
    }

    public String getSaveTag() {
        return saveTag;
    }

    public void setSaveTag(String saveTag) {
        this.saveTag = saveTag;
    }

    public int getAlarm() {
        return alarm;
    }

    public void setAlarm(int alarm) {
        this.alarm = alarm;
    }

    public int getAlarmLevel() {
        return alarmLevel;
    }

    public void setAlarmLevel(int alarmLevel) {
        this.alarmLevel = alarmLevel;
    }

    public float getUpLimit() {
        return upLimit;
    }

    public void setUpLimit(float upLimit) {
        this.upLimit = upLimit;
    }

    public float getUpUpLimit() {
        return upUpLimit;
    }

    public void setUpUpLimit(float upUpLimit) {
        this.upUpLimit = upUpLimit;
    }

    public float getLowLimit() {
        return lowLimit;
    }

    public void setLowLimit(float lowLimit) {
        this.lowLimit = lowLimit;
    }

    public float getLowLowLimit() {
        return lowLowLimit;
    }

    public void setLowLowLimit(float lowLowLimit) {
        this.lowLowLimit = lowLowLimit;
    }

    public String getFormatual() {
        return formatual;
    }

    public void setFormatual(String formatual) {
        this.formatual = formatual;
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    public String getStorageName() {
        return storageName;
    }

    public void setStorageName(String storageName) {
        this.storageName = storageName;
    }

    public int getSite() {
        return site;
    }

    public void setSite(int site) {
        this.site = site;
    }
}
